import com.atguigu.srb.core.pojo.entity.Dict;
import org.apache.commons.lang3.exception.ExceptionUtils;
import org.junit.Test;

import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import java.util.TreeSet;

/**
 * @Author: Bright
 * @Date: 2022-04-14 20:22
 * @Description: PACKAGE_NAME
 * @version: 1.0
 */
public class T1 {

    @Test
    public void test1(){
        String a="2022-05-01";
        LocalDate now = LocalDate.now();
        LocalDate parse = LocalDate.parse(a);

        System.out.println(now.isBefore(parse));


    }

}
